<%@ include file="isComm.jsp"%>
<%@ page import="java.util.*,database.*" %>
<%
Enumeration en = request.getParameterNames();
String projId = (String)en.nextElement();
DBCon db = new DBCon();
db.updateStudentsProject("null", " where projId = "+projId);
String[] students = request.getParameterValues(projId);
for(String i : students)
{
    if(!i.equals(""))
        db.updateStudentsProject(projId, " where id = "+i);
}
response.sendRedirect("dragAssign.jsp?prjID="+projId);

%>